From: Keir Fraser Date: Fri, 14 May 2010 07:05:05 +0000 (+0100) Subject: xl: Add include-only-once checks to xl_cmd{impl,table}.h X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12162 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=e1e86ff4a2e1fbabe545035b3426a1dd65e6ee78;p=xen.git xl: Add include-only-once checks to xl_cmd{impl,table}.h Signed-off-by: Keir Fraser --- diff --git a/tools/libxl/xl_cmdimpl.h b/tools/libxl/xl_cmdimpl.h index eca6790a54..2654efb589 100644 --- a/tools/libxl/xl_cmdimpl.h +++ b/tools/libxl/xl_cmdimpl.h @@ -12,6 +12,9 @@ * GNU Lesser General Public License for more details. */ +#ifndef XL_CMDIMPL_H +#define XL_CMDIMPL_H + int main_vcpulist(int argc, char **argv); int main_info(int argc, char **argv); int main_cd_eject(int argc, char **argv); @@ -51,3 +54,5 @@ int main_blockdetach(int argc, char **argv); int main_uptime(int argc, char **argv); void help(char *command); + +#endif /* XL_CMDIMPL_H */ diff --git a/tools/libxl/xl_cmdtable.h b/tools/libxl/xl_cmdtable.h index 089205101c..90d1058e8e 100644 --- a/tools/libxl/xl_cmdtable.h +++ b/tools/libxl/xl_cmdtable.h @@ -12,6 +12,9 @@ * GNU Lesser General Public License for more details. */ +#ifndef XL_CMDTABLE_H +#define XL_CMDTABLE_H + #include "xl_cmdimpl.h" struct cmd_spec { @@ -24,3 +27,5 @@ struct cmd_spec { extern struct cmd_spec cmd_table[]; extern int cmdtable_len; + +#endif /* XL_CMDTABLE_H */